<template>
  <div>
    <div class="box">
    <div class="tp">
      <img src="./tupian/01.png" alt="">
     <img src="./tupian/01.png" alt="">
     <img src="./tupian/01.png" alt="">
     <img src="./tupian/01.png" alt="">
     <img src="./tupian/01.png" alt="">
    </div>
    <div class="gj">
      <img src="./tupian/02.png" alt="">
      <img src="./tupian/03.png" alt="">
    </div>
    <span class="wa">4:34pm</span>
    <span class="wz">88%</span>
    <div class="dl">
      <div class="d2"></div>
    </div>
    </div>
    <div class="box1">
      <img class="tp1" src="./tupian/1.png" alt="" />
      <span class="wer">新动态</span>
      <img class="tp2" src="./tupian/2.png" alt="" />
    </div>
    
    <div class="box2">
      <div class="bu">
      <div><img class="er" src="./tupian/3.png" alt="" /></div>
      <div><img class="er" src="./tupian/4.png" alt="" /></div>
      <div><img class="er" src="./tupian/5.png" alt="" /></div>
      <div><img class="er" src="./tupian/6.png" alt="" /></div>
      <div><img class="er" src="./tupian/7.png" alt="" /></div>
    </div>
    <div>
      <span class="wr">周杰伦</span>
      <span class="wr">易烊千玺</span>
      <span class="wr">白敬亭</span>
      <span class="wr">井柏然</span>
      <span class="wr">李荣浩</span>
    </div>
    </div>
    <div class="bnox3">
      <div class="df">
        <div>
          <img class="er" src="./tupian/8.png" alt="" />
        </div>
        <span class="wer">王嘉尔</span>
        <span class="sc">四川</span>
        <div><img class="tp3" src="./tupian/9.png" alt="" /></div>
      </div>
      <div class="lb">
        <el-carousel indicator-position="outside">
    <el-carousel-item v-for="item in 4" :key="item">
      <h3 text="2xl" justify="center">{{ item }}</h3>
    </el-carousel-item>
  </el-carousel>
      </div>
     <div class="do">
      <div>
        <img src="./tupian/11.png" alt="" />
        <span>2500</span>
      </div>
      <div class="sf" @click="getOperate()">
        <img src="./tupian/10.png" alt="" v-if="userShow" />
        <img src="./tupian/14.jpg" alt="" v-if="!userShow">
        <span>425</span>
      </div>
      <div class="tp4">
        <img  src="./tupian/13.png" alt="">
      </div>
     </div>
    </div>
  </div>

</template>
  
  <script>
export default {
  name: "dynamic",
  methods: {
      getOperate(){
        this.userShow=!this.userShow
      }
    },
  data(){
    return{
      userShow:true
    }
  }
};
</script>
  
  <style  land="less"  scoped>
.el-carousel__item h3 {
  display: flex;
  color: #475669;
  opacity: 0.75;
  line-height: 300px;
  margin: 0;
  margin-top: 10px;
}

.el-carousel__item:nth-child(n) {
  background-image: url('./tupian/12.png');
}

.el-carousel__item:nth-child(2n - 1) {
  background-image: url('./tupian/12.png');
}
.box{display: flex;}
.box1 {
  margin-top: 10px;
  text-align: center;
  height: 50px;
}
.dl{
  height: 10px;
  width: 20px;
  border: 1px solid black;
  margin-top: 10px;
  margin-left: 2px;
  border-radius:2px ;
}
.d2{
  height: 10px;
  width: 17px;
  background-color: black;
}
.gj{
margin-left: 10px;
margin-top: 3px;
}
.gk{
  margin-left: 80px;
  margin-top: 3px;
}
.wz{
  font-weight: bold;
  font-size: 12px;
  margin-top: 8px;
  margin-left: 80px;
}
.wa{
  font-weight: bold;
  font-size: 15px;
  margin-top: 8px;
  margin-left: 80px;
}
.tp{
  margin-left: 2px;
  margin-top: 3px;
}
.tp1 {
  margin-right: 130px;
}
.tp2 {
  margin-left: 110px;
}
.tp3 {
  margin-left: 200px;
}
.tp4{
  margin-left: 120px;
}
.wer{
  font-weight: bold;
  font-size: 18px;
}
.wr{
  margin-left: 33px;
  font-size: 10px;
  font-weight: bold;
}
.box2{
  height: 100px;
  background-color: rgb(249, 249, 249);
  border-radius:40px ;
}
.bu {
  margin-top: 5px;
  display: flex;
}
.er {
  margin-left: 20px;
}
.df {
  display: flex;
  height: 25px;
}
.sc{
  margin-top: 5px;
  font-size: 10px
  
  ;}
.lb{margin-top: 30px;}
.do{display: flex;}
.sf{
  margin-left: 130px;
}
</style>